package org.springsecuritylearn.repository.domain;

import lombok.Data;

import javax.persistence.Embeddable;


/**
 * 地址类
 */
@Data
@Embeddable
public class Address extends CreatAndUpdateTime{

    /**
     * 省
     */
    private String province;

    /**
     * 市
     */
    private  String city;

    /**
     * 区
     */
    private String area;


    /**
     * 详细地址
     */
    private String address;


    /**
     * 邮政编码
     */
    private  String zipCode;


}
